<template>
	<view class="web">
		<web-view :src="src"></web-view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				src: this.$store.state.url
			}
		},
		onUnload() {
			this.$store.commit('changeUrl', '');
		},
		methods: {}
	}
</script>

<style>
</style>